/**
 * 
 */
package com.luck.pf.common;

import java.util.HashMap;
import java.util.Map;


public class Constants {
	public static String PROJECT_NAME = "";
	public static String COPYRIGHT = "";
	public static String VERSION = "";
	public static String ROOT_FLAG = "";//默认全部, ROOT_ORG:后台管理，ROOT_BS:前台系统
	public static String WEB_ROOT = "";
	public static String DEPT_MANY = "1";//是否是多机构管理，1:是，0:否
	public static final String INIT_PASSWORD="888888";
	/**
	 * 权限类型
	 */
	public static final long AUTH_TYPE_ADD = 10;//增加
	public static final long AUTH_TYPE_DEL = 11;//删除
	public static final long AUTH_TYPE_EDIT = 12;//修改
	public static final long AUTH_TYPE_SEARCH = 13;//查询
	/**
	 * 全局信息提示
	 */
	public static final String GLOBAL_SUCCESS = "globalSuccess";
	public static final String GLOBAL_ERROR = "globalError";
	/**
	 * session名称
	 */
	public static final String SESSION_LOGIN_NAME = "loginname";//登录名
	public static final String SESSION_USER_BEAN = "userbean";//用户登录后保存的bean
	public static boolean VERCODE_CHECK = false;//是否使用登陆验证码
	public static final String SESSION_VALIDATE_CODE = "validateCode";
	public static final String SESSION_MENUS = "menus";
	public static final String SESSION_TIPS = "tips";
	/**
	 * 参数数据列表
	 */
	public static Map params = new HashMap();
	/**
	 * 分割字符串	 */
	public static final String SPLIT_CHARS = "\\$\\$\\$";
	/**
	 * TRUE
	 */
	public static final long L_TRUE = 1;
	
	/**
	 * FALSE
	 */
	public static final long L_FALSE = 0;
	/**
	 * 数据查看权限--可查看所有数据
	 */
	public final static String DATA_PRIV_ALL = "5001";
	/**
	 * 数据查看权限--查看本身和本机构以下数据
	 */
	public final static String DATA_PRIV_SELF_AND_BLEW = "5002";
	/**
	 * 数据查看权限--只能查看本机构数据
	 */
	public final static String DATA_PRIV_SELF_ORG = "5003";
	/**
	 * 只能查看本部门数据
	 */
	public final static String DATA_PRIV_SELF_DEPT = "5004";
	/**
	 * 只能查看本人数据
	 */
	public final static String DATA_PRIV_SELF = "5005";
	
	/**
	 * 附件存放路径
	 */
	public static String FILE_ATTACHMENT_PATH = "";

}
